home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / msdos / aset10.zip / ASET4.TST < prev    next >
Text File  |  1993-05-06  |  3KB  |  215 lines

  1. # $Id: aset4.tst 1.1 1993/03/09 13:01:22 Ricki Exp $
  2. # Test file for ASETs string functions
  3. #
  4. #       $Log: aset4.tst $
  5. #       Revision 1.1  1993/03/09  13:01:22  Ricki
  6. #       Initial revision
  7. #
  8.  
  9. #
  10. #-------CHR
  11. #
  12. a=chr(65)
  13. a=chr(250)
  14. #
  15. a=chr()
  16. a=chr
  17. a=chr(1,2)
  18.  
  19. #
  20. #-------CONCAT
  21. #
  22. a=concat('abc','def')
  23. a=concat(1,1)
  24. a=concat('a')
  25. a=concat(1,2,3,4,5)
  26. #
  27. a=concat()
  28. a=concat
  29.  
  30. #
  31. #-------COPY
  32. #
  33. a=copy('abcdef',2,3)
  34. a=copy('',100,200)
  35. a=copy('abc',-1,2)
  36. a=copy('abcdef',4,255)
  37. #
  38. a=copy()
  39. a=copy('a',1)
  40. a=copy(x)
  41. a=copy(1,2,3,4)
  42.  
  43. #
  44. #-------DELETE
  45. #
  46. a=delete('abcdef',2,3)
  47. a=delete('',100,200)
  48. a=delete('abc',-1,2)
  49. a=delete('abcdef',4,255)
  50. #
  51. a=delete()
  52. a=delete('a',1)
  53. a=delete(x)
  54. a=delete(1,2,3,4)
  55.  
  56. #
  57. #-------INSTR
  58. #
  59. a=instr('abcdef','bc')
  60. a=instr('','')
  61. a=instr('abc','d')
  62. #
  63. a=instr()
  64. a=instr(x)
  65. a=instr(1,2,3)
  66.  
  67. #
  68. #-------LEFT
  69. #
  70. a=left('abcdef',2)
  71. a=left('',100)
  72. a=left('abc',-1)
  73. a=left('abcdef',4)
  74. #
  75. a=left()
  76. a=left(x)
  77. a=left(1,2,3)
  78.  
  79. #
  80. #-------LEN
  81. #
  82. a=len('abcdef')
  83. a=len('')
  84. a=len()
  85. #
  86. a=len
  87. a=len(1,2)
  88.  
  89. #
  90. #-------LOCASE
  91. #
  92. a=locase('aBCDef')
  93. a=locase('')
  94. a=locase()
  95. #
  96. a=locase
  97. a=locase(1,2)
  98.  
  99. #
  100. #-------NTH
  101. #
  102. a=nth(2,'a bc def')
  103. a=nth(1,'')
  104. a=nth(1,'abc')
  105. a=nth(4,'a b c')
  106. a=nth(3,'a b c')
  107. #
  108. a=nth()
  109. a=nth('a',1)
  110. a=nth(x)
  111. a=nth(0,'a b c')
  112.  
  113. #
  114. #-------ORD
  115. #
  116. a=ord('a')
  117. a=ord('abcdef')
  118. a=ord('')
  119. #
  120. a=ord
  121. a=ord(1,2)
  122.  
  123. #
  124. #-------POS
  125. #
  126. a=pos('bc','abcdef')
  127. a=pos('','')
  128. a=pos('d','abc')
  129. #
  130. a=pos()
  131. a=pos(x)
  132. a=pos(1,2,3)
  133.  
  134. #
  135. #-------QUOTE
  136. #
  137. a=quote
  138. a=quote()
  139. a=quote('abc')
  140. a=quote(quote)
  141. #
  142. a=quote(1,2)
  143.  
  144. #
  145. #-------RIGHT
  146. #
  147. a=right('abcdef',2)
  148. a=right('',100)
  149. a=right('abc',-1)
  150. a=right('abcdef',4)
  151. #
  152. a=right()
  153. a=right(x)
  154. a=right(1,2,3)
  155.  
  156. #
  157. #-------SUBALL
  158. #
  159. a=suball('a','b','abba')
  160. a=suball('','x','')
  161. a=suball('x','','axl,axl')
  162. a=suball('ab','ba','abba')
  163. #
  164. a=suball()
  165. a=suball(x)
  166. a=suball(1,2,3,4)
  167.  
  168. #
  169. #-------SUBST
  170. #
  171. a=subst('a','b','abba')
  172. a=subst('','x','')
  173. a=subst('x','','axl')
  174. a=subst('x','','axl,axl')
  175. a=subst('ab','ba','abba')
  176. #
  177. a=subst()
  178. a=subst(x)
  179. a=subst(1,2,3,4)
  180.  
  181. #
  182. #-------UNQUOTE
  183. #
  184. a=unquote('abc')
  185. a=unquote('')
  186. a=unquote()
  187. a=unquote(quote(quote))
  188. a=unquote(quote(quote(quote)))
  189. #
  190. a=unquote
  191. a=unquote(1,2)
  192.  
  193. #
  194. #-------UPCASE
  195. #
  196. a=upcase('aBCDef')
  197. a=upcase('')
  198. a=upcase()
  199. #
  200. a=upcase
  201. a=upcase(1,2)
  202.  
  203. #
  204. #-------WORDS
  205. #
  206. a=words('a bc def',' w ')
  207. a=words('')
  208. a=words()
  209. a=words('x')
  210. a=words('abc','def')
  211. a=words('a b c')
  212. #
  213. a=words
  214.  
  215.